package com.ruoyi.datastatistics.mapper;

import com.ruoyi.datastatistics.domain.MeterHistoryData;
import com.ruoyi.datastatistics.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TerminalXbStatisticAnalysisMapper {
    List<MeterHistoryData> oneTerminal(@Param("roomId") String roomId, @Param("readDates") String[] readDates);

    List<MeterHistoryData> multiTerminal(@Param("roomIds") String[] roomIds, @Param(("readDate")) String readDate);

    List<DayOrMonthDosageStatistics> DayOrMonth(Map<String,Object> paramMap);

    List<DosageStatistics> areaDosage(XbStatisticAnalysisReq req);

    List<BlankDosageStatistics> blankDosage(@Param("sheetsCode") String[] sheetsCode, @Param("beginTime") String beginTime, @Param("endTime") String endTime);

    List<DosageRangeStatistics> rangeDosage(@Param("sheetsCode") String sheetsCode, @Param("beginTime") String beginTime, @Param("endTime") String endTime);

    List<MonthDosageGrowthRatio> dosageUprush(XbStatisticAnalysisReq req);
}
